body {
    background: linear-gradient(135deg, #001940 0%, #002655 100%);
    margin: 0;
    padding: 20px;
    min-height: 100vh;
    font-family: "Microsoft YaHei", sans-serif;
}

.container {
    width: 100%;
    margin: 0 auto;
}

.header {
    background: rgba(4, 28, 75, 0.95);
    border: 1px solid rgba(32, 128, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.location {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

/* 当前位置文字渐变效果 */
.location-text {
    background: linear-gradient(90deg,
    #00ffff 0%,
    #0066ff 50%,
    #00ffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 500;
    animation: shine 3s linear infinite;
    background-size: 200% auto;
}

.location i {
    color: #00ffff;
    font-size: 18px;
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: -200% center;
    }
}

.search-box {
    display: flex;
    gap: 15px;
}

.search-box .el-select {
    width: 200px;
}

/* 人物卡片网格 */
.person-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    padding-top: 1px;
}

.person-card {
    background: rgba(4, 28, 75, 0.95);
    border: 1px solid rgba(32, 128, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-width: 0; /* 防止内容溢出 */
}

.person-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 149, 255, 0.2);
    border-color: rgba(0, 255, 255, 0.3);
}

.person-card.selected {
    background: linear-gradient(135deg,
    rgba(0, 102, 255, 0.3) 0%,
    rgba(0, 255, 255, 0.3) 100%
    );
    border-color: #00ffff;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(0, 255, 255, 0.3);
}

.info {
    flex: 1;
}

.name {
    color: #fff;
    font-size: 16px;
    margin-bottom: 10px;
}

.description {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
}

.description-item {
    display: flex;
    align-items: center;
    gap: 5px;
}

.description-item i {
    font-size: 12px;
    color: rgba(0, 255, 255, 0.7);
}

/* Element UI 组件样式覆盖 */
.pagination-container .el-select {
    width: 90px;
}

/* 下拉框样式调整 */
.el-select-dropdown {
    background: rgba(4, 28, 75, 0.95) !important;
    border: 1px solid rgba(32, 128, 255, 0.2) !important;
    box-shadow: 0 2px 12px rgba(0, 149, 255, 0.1) !important;
}

.el-select-dropdown__item {
    color: rgba(255, 255, 255, 0.8) !important;
    height: 40px !important;
    line-height: 40px !important;
}

.el-select-dropdown__item.hover,
.el-select-dropdown__item:hover {
    background: linear-gradient(90deg,
    rgba(0, 102, 255, 0.2) 0%,
    rgba(0, 255, 255, 0.2) 100%
    ) !important;
}

.el-select-dropdown__item.selected {
    background: linear-gradient(90deg,
    rgba(0, 102, 255, 0.3) 0%,
    rgba(0, 255, 255, 0.3) 100%
    ) !important;
    color: #00ffff !important;
}

/* 下拉箭头样式 */
.el-select .el-input__suffix {
    right: 8px;
}

.el-select .el-input__suffix .el-input__suffix-inner {
    color: #00ffff !important;
}

/* 下拉框弹出动画 */
.el-select-dropdown.is-multiple .el-select-dropdown__wrap {
    background: transparent !important;
}

.el-popper[x-placement^=bottom] .popper__arrow {
    border-bottom-color: rgba(32, 128, 255, 0.2) !important;
}

.el-popper[x-placement^=bottom] .popper__arrow::after {
    border-bottom-color: rgba(4, 28, 75, 0.95) !important;
}

.el-input__inner {
    background: rgba(0, 20, 60, 0.3) !important;
    border: 1px solid rgba(32, 128, 255, 0.2) !important;
    color: #fff !important;
}

/* 选择框内部图标样式 */
.el-select .el-input__prefix {
    color: #00ffff;
    font-size: 16px;
    left: 8px;
    height: 100%;
    display: flex;
    align-items: center;
}

.el-select .el-input__inner {
    padding-left: 35px !important;
}

/* 确保图标容器不会影响输入框 */
.el-select .el-input__prefix-inner {
    display: flex;
    align-items: center;
}

.el-button--primary {
    background: linear-gradient(90deg, #0066ff, #00ffff) !important;
    border: none !important;
}

/* 响应式布局调整 */
@media screen and (max-width: 1600px) {
    .person-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 1200px) {
    .person-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .person-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .header {
        flex-direction: column;
        gap: 15px;
    }

    .search-box {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }
}


/* 调整选择器内部布局 */
.el-select-dropdown__list {
    display: flex;
    flex-direction: column;
}

.el-select-dropdown__item span {
    display: inline-block;
}

.el-pagination {
    text-align: center;
}

/* 分页容器样式 */
.pagination-container {
    margin-top: 1px;
    padding: 20px;
    background: rgba(4, 28, 75, 0.95);
    border: 1px solid rgba(32, 128, 255, 0.2);
    border-radius: 8px;
}

/* 分页容器样式调整 */
.pagination-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    padding: 0 20px;
}

/* 调整每页条数选择器样式 */
.el-pagination__sizes {
    display: flex !important;
    align-items: center;
    white-space: nowrap;
    background: linear-gradient(135deg,
    rgba(0, 102, 255, 0.2) 0%,
    rgba(0, 255, 255, 0.2) 100%
    );
    padding: 5px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    gap: 5px;
    height: 32px;
    box-sizing: border-box;
}

/* 页容量标签样式 */
.page-size-label {
    background: linear-gradient(90deg,
    #00ffff 0%,
    #0066ff 50%,
    #00ffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 14px;
    font-weight: 500;
    padding: 0 5px;
    animation: textShine 3s linear infinite;
    background-size: 200% auto;
    line-height: 22px;
}

/* 分页跳转表单样式 */
.el-pagination__jump {
    background: linear-gradient(135deg,
    rgba(0, 102, 255, 0.2) 0%,
    rgba(0, 255, 255, 0.2) 100%
    );
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin-left: 15px !important;
    display: flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    box-sizing: border-box;
    color: transparent !important;
    position: relative;
}

/* 跳转文本和输入框垂直居中 */
.el-pagination__jump .el-pagination__goto,
.el-pagination__jump .el-pagination__after {
    line-height: 22px !important;
    height: 22px !important;
    display: flex !important;
    align-items: center !important;
    background: linear-gradient(90deg,
    #00ffff 0%,
    #0066ff 50%,
    #00ffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
    font-weight: 500;
    animation: textShine 3s linear infinite;
    background-size: 200% auto;
    white-space: nowrap;
}

/* 输入框容器垂直居中 */
.el-pagination__editor.el-input {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;
    margin: 0 5px !important;
    height: 28px !important;
    min-width: 50px !important;
}

.el-pagination input.el-input__inner {
    background: rgba(0, 20, 60, 0.5) !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    color: #00ffff !important;
    width: 100% !important;
    text-align: center;
    padding: 0 5px !important;
    height: 28px !important;
    line-height: 28px !important;
    vertical-align: middle !important;
    font-size: 14px !important;
}

/* 分页按钮大小调整 */
.el-pagination.is-background .el-pager li,
.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev {
    min-width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
}

/* 分页按钮样式 */
.el-pagination.is-background .el-pager li:not(.disabled).active {
    background: linear-gradient(90deg, #0066ff, #00ffff) !important;
    color: #fff !important;
}

.el-pagination.is-background .el-pager li {
    background: rgba(0, 20, 60, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(32, 128, 255, 0.2) !important;
}

.el-pagination.is-background .el-pager li:hover {
    color: #00ffff !important;
}

.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev {
    background: rgba(0, 20, 60, 0.3) !important;
    color: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid rgba(32, 128, 255, 0.2) !important;
}

.el-pagination.is-background .btn-next:hover,
.el-pagination.is-background .btn-prev:hover {
    color: #00ffff !important;
}

/* 跳转容器布局 */
.el-pagination__jump {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
}

/* 分页器文本颜色 */
.el-pagination__total {
    background: linear-gradient(135deg,
    rgba(0, 102, 255, 0.2) 0%,
    rgba(0, 255, 255, 0.2) 100%
    );
    padding: 5px 12px;
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin-right: 15px;
    display: inline-flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    height: 32px;
    box-sizing: border-box;
}

/* 添加炫光动画效果 */
.el-pagination__total::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(0, 255, 255, 0.1),
            transparent
    );
    animation: totalShine 2s infinite;
}

@keyframes totalShine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* 总条数文本渐变效果 */
.el-pagination__total span {
    background: linear-gradient(90deg,
    #00ffff 0%,
    #0066ff 50%,
    #00ffff 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: #f60;
    font-weight: 500;
    animation: textShine 3s linear infinite;
    background-size: 200% auto;
    padding: 0 3px;
    font-size: 16px;
}

/* 头像点击效果 */
.avatar-wrapper {
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.avatar-wrapper:hover::after {
    content: '编辑';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 102, 255, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 14px;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 对话框样式 */
.el-dialog {
    background: rgba(4, 28, 75, 0.95) !important;
    border: 1px solid rgba(32, 128, 255, 0.2) !important;
    border-radius: 8px !important;
    box-shadow: 0 0 20px rgba(0, 149, 255, 0.1) !important;
}

.el-dialog__title {
    color: #00ffff !important;
    font-size: 18px !important;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.el-dialog__header {
    padding: 20px !important;
    border-bottom: 1px solid rgba(32, 128, 255, 0.2) !important;
    background: linear-gradient(135deg,
    rgba(0, 102, 255, 0.2) 0%,
    rgba(0, 255, 255, 0.2) 100%
    ) !important;
    border-radius: 8px 8px 0 0 !important;
}

.el-dialog__body {
    padding: 30px 20px !important;
    color: rgba(255, 255, 255, 0.8) !important;
}

.el-dialog__footer {
    padding: 20px !important;
    border-top: 1px solid rgba(32, 128, 255, 0.2) !important;
    background: linear-gradient(135deg,
    rgba(0, 102, 255, 0.2) 0%,
    rgba(0, 255, 255, 0.2) 100%
    ) !important;
    border-radius: 0 0 8px 8px !important;
}

/* 对话框关闭按钮 */
.el-dialog__headerbtn .el-dialog__close {
    color: rgba(0, 255, 255, 0.8) !important;
    font-size: 20px;
    transition: all 0.3s;
}

.el-dialog__headerbtn:hover .el-dialog__close {
    color: #00ffff !important;
    transform: rotate(90deg);
}

/* 编辑表单样式 */
.edit-form .el-form-item__label {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* 表单两列布局 */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 22px;
}

.form-col {
    flex: 1;
    min-width: 0;
}

/* 头像上传独占一行 */
.avatar-form-item {
    margin-bottom: 1px !important;
}

/* 表单项间距调整 */
.el-form-item {
    margin-bottom: 0;
}

/* 头像上传组件样式 */
.avatar-uploader {
    text-align: center;
    position: relative;
}

.avatar-uploader .el-upload {
    border: 2px dashed rgba(32, 128, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.avatar-uploader .el-upload:hover {
    border-color: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);
}

.avatar-uploader .avatar-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.avatar-uploader .el-upload-dragger {
    background: rgba(0, 20, 60, 0.3) !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}

.avatar-uploader .el-icon-plus {
    font-size: 24px;
    color: rgba(0, 255, 255, 0.8);
    transition: all 0.3s;
}

.avatar-uploader .el-upload:hover .el-icon-plus {
    color: #00ffff;
    transform: rotate(90deg);
}

.avatar-uploader .el-upload-list {
    display: none;
}


.el-submenu__title, .el-submenu__title:hover {
    background-color: #11183a47 !important
}

.el-submenu__title:hover {
    color: #a27316 !important
}


.el-menu {
    border: none;
}

.el-menu-item {
    height: 50px;
    line-height: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.el-menu-item:hover {
    background: transparent !important;
    color: #00ffff !important;
    transform: translateX(5px);
}

.el-menu-item:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
            90deg,
            transparent,
            #00ffff,
            transparent
    );
}

.el-menu-item.is-active {
    background: transparent !important;
    color: #00ffff !important;
    position: relative;
}

.el-menu-item.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background: #00ffff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.el-menu-item i {
    color: inherit;
    transition: all 0.3s;
}

.el-menu-item:hover i {
    transform: scale(1.1);
    color: #00ffff;
}

.el-header {
    background: linear-gradient(90deg, rgba(2, 11, 39, 0.95) 0%, rgba(4, 19, 53, 0.95) 100%);
    border-bottom: 1px solid rgba(0, 149, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px !important;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    color: #fff;
}

.header-left i {
    font-size: 20px;
    cursor: pointer;
}

/* 底部样式 */
.footer {
    margin-top: auto;
    background: linear-gradient(135deg, rgba(2, 11, 39, 0.98) 0%, rgba(4, 19, 53, 0.98) 100%);
    border-top: 1px solid rgba(32, 128, 255, 0.2);
    padding: 30px 0;
    color: rgba(255, 255, 255, 0.9);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 0 20px;
}

.footer-section {
    text-align: center;
}

.footer-section h3 {
    color: #00ffff;
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: normal;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
    margin: 5px 0;
}

.footer-section p:hover {
    color: #00ffff;
    transition: color 0.3s;
}

/* 添加科技感装饰 */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
    transparent,
    rgba(0, 149, 255, 0.2),
    rgba(0, 255, 255, 0.4),
    rgba(0, 149, 255, 0.2),
    transparent
    );
}

.el-aside {
    background: linear-gradient(180deg, rgba(2, 11, 39, 0.95) 0%, rgba(4, 19, 53, 0.95) 100%);
    border-right: 1px solid rgba(0, 149, 255, 0.1);
    transition: width 0.3s;
}


/* 标题样式 */
.title {
    font-size: 24px;
    color: #00ffff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: #00ffff;
    transform: skew(-15deg);
}



.logo {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    color: #00ffff;
    font-size: 18px;
    border-bottom: 1px solid rgba(0, 149, 255, 0.1);
    transition: all 0.3s;
    overflow: hidden;
    white-space: nowrap;
}

.logo img {
    width: 30px;
    margin-right: 10px;
}

.logo-collapse {
    padding: 0 20px;
}

.logo-collapse span {
    display: none;
}


/* 自定义Badge样式 */
.el-badge__content {
    background-color: #ff4d4f !important;
    border: none !important;
}

/* 用户信息样式 */
.user-info {
    margin-left: 10px;
}

.user-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s;
}

.user-dropdown:hover {
    background: rgba(0, 149, 255, 0.1);
}

.user-dropdown i {
    font-size: 16px;
}

/* 下拉菜单样式 */
.el-dropdown-menu {
    background: rgba(4, 28, 75, 0.95) !important;
    border: 1px solid rgba(32, 128, 255, 0.2) !important;
    padding: 5px 0 !important;
}

.el-dropdown-menu__item {
    color: #fff !important;
    padding: 8px 20px !important;
}

.el-dropdown-menu__item:hover {
    background: rgba(0, 149, 255, 0.1) !important;
    color: #00ffff !important;
}

.el-dropdown-menu__item i {
    margin-right: 8px;
}

.el-dropdown-menu__item.is-disabled {
    color: rgba(255, 255, 255, 0.4) !important;
}


.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 消息通知样式 */
.message-badge {
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s;
}

.message-badge:hover {
    background: rgba(0, 149, 255, 0.1);
    border-radius: 4px;
}

.message-icon i {
    font-size: 20px;
    color: #fff;
}

/* 自定义Badge样式 */
.el-badge__content {
    background-color: #ff4d4f !important;
    border: none !important;
}

/* 用户信息样式 */
.user-info {
    margin-left: 10px;
}